Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

@alan-agius4 alan-agius4 commented Nov 20, 2025

Previously, encoded query parameters caused a mismatch between the requested URL and the reconstructed URL, leading to an a redirect loop. This change ensures both URLs are decoded before comparison.

Closes #31881

@alan-agius4 alan-agius4 requested a review from atscott November 20, 2025 07:48
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Nov 20, 2025
@alan-agius4 alan-agius4 force-pushed the ssr-redirect-loop branch 4 times, most recently from 6d6637a to 875d13d Compare November 20, 2025 16:52
Previously, encoded query parameters caused a mismatch between the requested URL and the reconstructed URL, leading to a redirect loop. This change ensures both URLs are decoded before comparison.

Closes angular#31881
@atscott atscott added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 20, 2025
@alan-agius4 alan-agius4 merged commit 61a027d into angular:main Nov 21, 2025
35 checks passed
@alan-agius4 alan-agius4 deleted the ssr-redirect-loop branch November 21, 2025 08:07
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/ssr target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR url normalization causes 302 redirects

2 participants